2065faaaecd6cb398c7557e3b31b358b3ca9bfdb,tool/src/java/org/sakaiproject/gradebookng/business/GradebookNgBusinessService.java,GradebookNgBusinessService,addAssignment,#Assignment#,573
Before Change
Gradebook gradebook = getGradebook();
if(gradebook != null) {
String gradebookId = gradebook.getUid();
id = this.gradebookService.addAssignment(gradebookId, assignment);
//TODO wrap this so we can catch any runtime exceptions
}
After Change
if(gradebook != null) {
String gradebookId = gradebook.getUid();
return this.gradebookService.addAssignment(gradebookId, assignment);
//TODO wrap this so we can catch any runtime exceptions
}